using UnityEngine;
using System.Collections;

public class InnerCollision : MonoBehaviour {
	public bool myBehavior;
	// Use this for initialization
	void Start () {
		myBehavior = false;
	}
	
	void OnTriggerStay(Collider collider){
		if(collider.transform.tag == "player"){
			myBehavior = true;
		}
	}
	void OnTriggerExit(Collider collider){
		if(collider.transform.tag == "player"){
			myBehavior = false;
		}
	}
}
